import { defineStore } from 'pinia'

export const useStore = defineStore('main', {
  state: () => ({
    username: ''
  }),
  actions: {
    setUserName(name: string) {
      this.username = name
    }
  },
})

